Skip to content

[codex] Add Missouri CSFP county filtering#8584

Draft
daphnehanse11 wants to merge 2 commits into
PolicyEngine:mainfrom
daphnehanse11:codex/mo-csfp-county-filter
Draft

[codex] Add Missouri CSFP county filtering#8584
daphnehanse11 wants to merge 2 commits into
PolicyEngine:mainfrom
daphnehanse11:codex/mo-csfp-county-filter

Conversation

@daphnehanse11
Copy link
Copy Markdown
Collaborator

Summary

  • Adds mo_dhss_csfp_county_eligible from the Missouri DHSS CSFP site layer.
  • Gates federal CSFP eligibility by the Missouri county variable when state_code is MO.
  • Adds direct county tests and integrated CSFP eligibility tests for the Missouri launch nuance.

Closes #8581.

Validation

  • uv run --extra dev ruff check policyengine_us/variables/gov/states/mo/dhss/csfp/mo_dhss_csfp_county_eligible.py policyengine_us/variables/gov/usda/csfp/commodity_supplemental_food_program_eligible.py
  • uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/states/mo/dhss/csfp/mo_dhss_csfp_county_eligible.yaml -c policyengine_us
  • uv run python -m policyengine_core.scripts.policyengine_command test policyengine_us/tests/policy/baseline/gov/usda/csfp/commodity_supplemental_food_program_eligible.yaml -c policyengine_us

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (fbb907a) to head (33a05c9).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #8584   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         2    -1     
  Lines           68        32   -36     
=========================================
- Hits            68        32   -36     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@daphnehanse11 daphnehanse11 force-pushed the codex/mo-csfp-county-filter branch from 380d0a2 to 33a05c9 Compare June 4, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Missouri CSFP county filtering

1 participant